home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
DISK
/
DFS10.ARJ
/
DFS.DOC
next >
Wrap
Text File
|
1992-03-02
|
22KB
|
482 lines
+---------------------------------------------------------------------+
| Documentation for DiskFileSearcher v1.0 02-25-92 |
+---------------------------------------------------------------------+
DiskFileSearcher v1.0 Copyright 1992 HCS Software. All Rights Reserved.
Documentation for DiskFileSearcher v1.0 Copyright 1992 HCS Software.
All Rights Reserved.
+---------------------------------------------------------------------+
Please refer to the end of this documentation for licensing,
registration, how to contact HCS Software, and limits of liability
and disclaimer of warranty information.
CONTENTS:
o DFS OVERVIEW
o WHAT'S NEW WITH v1.0?
o BRIEF DESCRIPTION OF DFS AND ITS PARAMETERS
o HOW TO USE DFS
o SETTING THE DFS ENVIRONMENTAL VARIABLE
o DFS USAGE EXAMPLES
o DESIGN ISSUES AND PERFORMANCE COMPARISONS
o TECHNICAL DATA
o LICENSING INFORMATION
o REGISTRATION INFORMATION
o HOW TO CONTACT HCS SOFTWARE
o LIMITS OF LIABILITY AND DISCLAIMER OF WARRANTY
o SPECIAL THANKS
o DFS VERSION AND UPDATE HISTORY
+---------------------------------------------------------------------+
o DFS OVERVIEW
DiskFileSearcher is an extremely fast and powerful file finding
utility. DFS was developed to meet a variety of needs not currently
addressed, or satisfactorily addressed, by other available file
search utilities. Most of these file search utilities lack several
useful search options, file information options, display format
options, sequential directory scanning, and the ability to execute
an external command at each matching file. DFS meets an extensive
number of user needs, including some features not readily available
with other similar utilities. DFS can also be extended by use of
external programs to act as a archive listing utility, a file
deletion utility, or even a quick text file displayer (see DFS USAGE
EXAMPLES section below for details). Futhermore, DFS can be set to
go to the first match found directory making it easier than
navigating through deep subdirectory listings.
o WHAT'S NEW WITH v1.0?
First of all, DFS v1.0 has undergone a significant code rewrite
allowing many new features in approximately the same size EXE file.
DFS is now 11% faster than v0.1 and provides greatly enhanced search
capabilities. DFS v1.0 now recognizes and supports DOS redirection
(the > and >> commands) allowing simultaneous file listings on the
video screen and to a file or to a printer. DFS v1.0 has greatly
enhanced wildcard filespec processing; intelligent processing would
be an accurate description (see DFS USAGE EXAMPLES section below).
The commands used to execute external or DOS commands have been
changed to allow easier usage. DFS also recognizes the DFS
environmental variable so that DFS can be customized to execute
with user preferred options already selected. Finally, there have
been a several other display changes and internal changes and one
minor bug fix. Please refer to DFS VERSION AND UPDATE HISTORY
section below for a complete update history.
o BRIEF DESCRIPTION OF DFS AND ITS PARAMETERS:
DFS execution: DFS [options] [d:][path]filespec [options]
[d:] is the optional drive specification (A:, b:, c:, E: etc.)
[path] is the optional search path (\, \dos\, \TOOLS\SUB1\, etc.)
filespec is the required file specification (*.*, .doc, work*.doc,
pcpart?0., ., ..\test*.*, \*., etc.)
options are the optional command parameters that allow different
search guidelines, search restrictions, display
redirection, and so forth.
The options are:
/A<h,s,r,a> search for files with specific Attributes
set
/B output displayed with Bios routines
/D<mm/dd/yy><-mm/dd/yy> minimum-maximum file Date to find
/E display separately Each directory searched
/Fstring searches for string Fragment in file name
/G[number] Goto directory of number matching file
found or first match if no number is
specified
/L[number] Lists number amount of files before pausing
or pause after each if no number is
specified
/N No recursion into subdirectories
/P display using DOS Pathname only
/Rdrive1-drive2 search Range of disk drives drive1 to
drive2
/Sminsize-maxsize search file Size range [min-max file size
for match]
[command [%]] execute a command for each match;
[] or "" may be used as delimiters;
% represents found file substitution
position (optional, but almost always
used)
Note that DFS's screen output can be paused by hitting any key other
than ESC or CTRL-C, and continued with another keypress. ESC or
CTRL-C will halt DFS and display the current statistics to that
point. Also, options can be specified before and after the filespec
in upper or lower case.
o HOW TO USE DFS:
DFS is extremely easy to use for both simple search needs and more
complex file search and maintenance demands. For example, to list
all files on the current drive starting from the root directory type
the following command line at the dos prompt:
DFS \ (or you could type DFS \*.*)
This will display every file on the current drive, including hidden
and system files. To display all files on drive B: you would enter:
DFS b:\
To search for specific file names, such as all .DOC files in the
\INSTRUCT directory and its subdirectories on drive A: you would
enter:
DFS a:\instruct\*.doc
Searching for parts of file names is accomplished by the using the
/F parameter. For example:
DFS c:\.exe /finst
would display all files ending with .EXE and containing INST in
the file name on drive C:, note that *.EXE is assumed.
DFS output defaults to direct video memory writes (with snow
checking). You may redirect output to a printer (or another file
for that matter) in addition to the video screen as follows:
DFS \ > prn
This line would list all files on the current drive to the default
printer. Please refer to your DOS manual about the redirection
('>') command for further information.
The [] and "" options are special options that cause DFS to execute
the designated command (and its specified parameter(s), if any) for
each matching file (represented by the % in the command). The
matching file's pathname is substituted for the %. Some examples:
DFS \ "dothis % c:\temp /a /b"
causes DFS to take each matching file and execute DOTHIS as if you
had entered the command from the DOS prompt:
DOTHIS d:\path\filename.ext c:\temp /a /b
DFS will search the DOS PATH for the command by default. If the
command is not an internal DOS command or not somewhere on the DOS
PATH then the full path must be specified (the same way as you
would have to from the DOS prompt). Note that if the command is
the last parameter called when DFS is executed then the trailing
] or " is not necessary. See DFS USAGE EXAMPLES for more examples.
o SETTING THE DFS ENVIRONMENTAL VARIABLE
DFS v1.0 now supports an environmental variable to facilitate the
use of particular options or settings regularly desired by the user.
Setting the variable is simple and can be done from the DOS prompt
or AUTOEXEC.BAT as follows:
SET DFS=[option] [option] [option]...
For example, to set DFS to always search from the root directory of
the default drive using BIOS output enter the following at the DOS
prompt or on its own line the AUTOEXEC.BAT file:
set dfs=\ /b
Now every time that DFS is entered at the DOS prompt it will use
those default settings, plus any additional settings entered at the
prompt. Note that all options used in the DFS environmental
variable, except for the filespec, cannot be cleared at the command
line. To override the filespec simply enter a new filespec (e.g.
DFS *.*), however all other settings still apply. In order to clear
the variable enter SET DFS= at the DOS prompt or eliminate the line
from the AUTOEXEC.BAT file.
o DFS USAGE EXAMPLES:
The following are common DFS uses with brief descriptions.
- DFS a:
displays all files in the current DOS directory (not necessarily
the root directory) on drive A: and all of its subdirectories.
- DFS \dfs.exe /p
displays all occurences of DFS.EXE on the current drive using the
DOS pathname format (i.e. d:\path\filename.ext).
- DFS /b temp\.doc
displays all files with .DOC extensions in the subdirectory TEMP
off of the current directory on the current drive through the BIOS.
- DFS /n *.* /ahs (alternate usage: DFS . /ahs)
displays only those files in the current directory (no subdirectory
recursion) if they have their hidden and system attributes set,
regardless of the other attribute settings. When the filespec is
the current directory '.' DFS assumes no recursion.
- DFS \ /d5-18-88- /l10 /fq /e
displays all files with a 'Q' in their name and a date stamp of
May 18, 1988 or older on the current drive in groups of 10 before
pausing for user keypress to continue. Each directory that is
searched is displayed regardless if a file match in that directory
is found.
- DFS /f$$$ \ /d10/2/80-5-31-90 /g5
displays all files on the current drive with '$$$' in their names
and having a date stamp between October 2, 1980 and May 5, 1990
(yes, '-' and '/' can be used as month, day and year delimiters,
but the range separator must be a '-'). The file display is
halted after the 5th matching file is found and the user is placed
in that directory.
- DFS \*.* /ra-c /s100000-500000
displays all files on drives A:, B: and C: with sizes between 100k
and 500k bytes.
The following examples demonstrate the full potential of DFS.
Exercise due caution when using DFS with the [] or "" parameters.
- DFS c:\*.old [del %]
displays all files on drive C: with OLD extension and uses DOS'
DEL (ERASE) command to delete each one. Note that DOS' DEL cannot
delete read-only files. This example is provided to forewarn the
user about careless use of the [] and "" parameters.
- DFS *.doc "type %
displays all .DOC files in the current directory and its
subdirectories and uses the DOS command TYPE to display each file.
- DFS *.doc "type %" > docfile
displays all .DOC files in the current directory and its
subdirectories and uses the DOS command TYPE to copy each one to
the file DOCFILE.
- DFS .zip "pkunzip -vb %"
displays all .ZIP files in the current DOS directory and its
subdirectories and executes PKUNZIP to display each of the .ZIP
files' contents. PKUNZIP is a registered trademark of PKWARE, Inc.
- DFS [copy % b:\holding /v] \*.txt /rc:-g:
displays all .TXT files on drives C: through G: and copies each to
the \HOLDING directory of drive B: using DOS' copy command with
verify turned on.
- DFS e:\ /arsh [attrib -h -r -s
displays all files on drive E: with hidden, read-only and system
attribute settings only and uses the external DOS command ATTRIB
to clear those attribute settings only.
- DFS a:\doc\*.doc /fpc "xe %
displays all .DOC files, with 'PC' in their names, on drive A:'s
\DOC directory, and executes XERASE (also by HCS Software) to
prompt before deleting each matching file.
o DESIGN ISSUES AND PERFORMANCE COMPARISONS
DFS was developed to be an extremely fast and powerful file search
utility with an extensive number of useful options. A significant
development factor was the ability to find and display all files
regardless of attribute settings. Furthermore, the ability to
examine a particular directory branch without having to run through
the entire hard disk was an essential feature.
One design requirement for DFS was found to be surprisingly ignored
by several other similar utilities--always displaying the child
subdirectories after their immediate parent directories. DFS
examines the directory structure by searching each child directory
BEFORE proceeding back to the parent directory (or worse yet, other
directory branches and then haphazardly jumping back). This results
in a cleaner, logically organized output especially when displaying
a hard disk with hundreds of related, nested subdirectories.
DFS was designed to meet high performance needs of PC users.
The search time results (in seconds) to find all files in all
directories of the test hard disk of several similar utilities
are below. These results were achieved on a 40MHz 80386 clone with
a 105Mb hard disk, no caching, optimized hard disk, FILES=30,
BUFFERS=20, 2123 files in 114 directories using 37,599,718 bytes.
tested program |program||full file info|less than 64k|accurate |
name |version||displayed |memory needed|statistics|
---------------+-------++--------------+-------------+----------+
NORTON FL | 6.0 || 66.5 100% | YES | NO |
FINDIT | 1.0 || 64.1 104% | YES | NO |
PCTOOLS FF | 7.1 || 44.4 150% | NO | YES |
WIZ | 2.0 || 32.9 202% | YES | YES |
FIND | 2.21 || 19.7 338% | NO | NO |
| || | | |
DFS | 1.0 || 21.6 308% | YES | YES |
Note that some of the above utilities (DFS excluded, naturally)
found either one too many files, were unable to locate hidden and
system files, or displayed only partially useful file information.
Finally, DFS can handle up to 32 levels of subdirectories, unlike
some file finding utilities that were tested, but not included for
that reason.
o TECHNICAL DATA
DFS is 'well-behaved' only if the /B option is used, which sends
output through the BIOS. DFS otherwise makes use of direct video
memory screen writes for greatly improved display output.
DFS does not make any disk write accesses, unless an external
command is executed that would otherwise do so.
DFS v1.0 was written exclusively in Turbo Pascal v6.0.
o LICENSING INFORMATION:
DiskFileSearcher (DFS) is copyrighted software.
The user is not obtaining title to this software or any copyright
rights. DFS may not be modified, translated, decompiled, or
disassembled.
DFS is free to use, copy, and distribute, as long as no usage,
copying, or distribution fee is charged, and DFS is accompanied by
its component files. A maximum fee of $2 (US) may be charged for
the costs involved in copying and/or distributing copies of this
software by user groups, shareware distributors, bulletin board
services, and similar software outlets.
Business, institutional, organizational, and government users must
register DFS after a 30 day evaluation period. Use on more than one
computer by business, institutional, organizational, or government
users, or use on a network by business, institutional,
organizational, or government users requires a site-license.
For more information please contact HCS Software.
o REGISTRATION INFORMATION:
If you find DFS useful, you are encouraged to register your copy
for $8 (US). Please use the accompanying REGISTER.DFS file for
registration. Registered users are automatically registered for
the next version of DFS at no additional charge. Paid registration
does not necessarily constitute a paid site-license.
This software was developed to meet demands not currently or fully
addressed by other similar software and your registration will
encourage further development and help promulgate the availability
of superior and competitively priced software.
o HOW TO CONTACT HCS SOFTWARE:
Chris Haltiner
HCS Software
7411 Whispering Pines Drive
Dallas, Texas 75248 USA
HCS Software/Haltiner Computer Services (214) 458-0789
Chris Haltiner CompuServe [CIS] 72607,2766
o LIMITS OF LIABILITY AND DISCLAIMER OF WARRANTY:
HCS SOFTWARE SPECIFICALLY DISCLAIMS ALL WARRANTIES RELATING TO THIS
SOFTWARE, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, ANY
IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
PURPOSE. HCS SOFTWARE SHALL NOT BE LIABLE FOR ANY DAMAGES, INCLUDING
BUT NOT LIMITED TO, LOSS OF PROFIT OR DATA, OR SPECIAL, INCIDENTAL,
CONSEQUENTIAL, DIRECT, OR INDIRECT DAMAGES IN CONNECTION WITH, OR
ARISING OUT OF THE PERFORMANCE, APPLICATION, USE OR INABILITY TO USE
THIS SOFTWARE, EVEN IF HCS SOFTWARE HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES OR CLAIMS.
IN NO EVENT SHALL HCS SOFTWARE'S LIABILITY FOR ANY DAMAGES EVER
EXCEED THE PRICE PAID FOR THE LICENSE TO USE THIS SOFTWARE,
REGARDLESS OF THE FORM OF CLAIM.
THE ENTIRE RISK AS TO THE RESULTS AND PERFORMANCE OF THIS SOFTWARE
IS ASSUMED BY THE USER.
GOVERNING LAW AND GENERAL PROVISIONS:
This agreement is governed by the laws of the State of Texas and
shall inure to the benefit of HCS Software. Any action or
proceeding brought by either party the other arising out of or
related to this agreement shall be brought only in a STATE or
FEDERAL COURT of competent jurisdiction located in Dallas County,
Texas. The parties hereby consent to in personam jurisdiction of
said courts.
o SPECIAL THANKS:
I would like to thank the following individuals for their comments
and suggestions: David Brinner and Jeremy Pohl.
o DFS VERSION AND UPDATE HISTORY:
0.1 - 01-21-92
- first release
0.1a - 01-26-92
- /A, /a with Archive setting search corrected to work with all
four variations (/AA, /aa, /Aa and /aA) instead of opposite
cases only (aA and Aa)!?!
1.0 - 02-02-92 to 02-25-92
- added more final statistics
- added special filespec wildcard processing
- /g# (goto match #) function without a number defaults to
first match
- execute command call and delimiters changed to [] or ""
- DOS redirection recognized and fully supported
- recursive directory search routine rewritten
- error result description removed
- will find and search hidden directories
- default display mode changed to verbose file information
- file display match indicator bug fixed (this may, but probably
didn't, cause skewed statistics in previous versions)
- recognizes DFS environmental variable
- allows display of each directory searched regardless of file
match in that directory
+---------------------------------------------------------------------+
end of DFS documentation